# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer:
pkgname=nuklear
pkgver=4.10.7
pkgrel=0
pkgdesc="A single-header ANSI C cross-platform GUI library"
url="https://immediate-mode-ui.github.io/Nuklear"
arch="noarch"
license="MIT OR Public-Domain"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Immediate-Mode-UI/Nuklear/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/Nuklear-$pkgver"

package() {
	install -Dm644 nuklear.h -t "$pkgdir"/usr/include/
	install -Dm644 Readme.md -t "$pkgdir"/usr/share/doc/$pkgname/
	install -Dm644 doc/index.html -t "$pkgdir"/usr/share/doc/$pkgname/
	install -Dm644 src/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}

sha512sums="
9b26afe0fa02a16f1dc218dfc916e09f5fce4de35474b267ca68bf60501897ce39fcd38acbc1af03ceb70b5b1810708cf94daa68caccdb04d3b31aa139228a86  nuklear-4.10.7.tar.gz
"
